home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / rocketcar2.swf / scripts / frame_23 / PlaceObject2_466_307 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2008-09-24  |  384 b   |  22 lines

  1. onClipEvent(enterFrame){
  2.    _X = _root.car._x;
  3.    if(_root.gravityType == "normal")
  4.    {
  5.       _Y = _root.car._y;
  6.    }
  7.    if(_root.gravityType == "reverse")
  8.    {
  9.       _Y = _root.car._y - 35;
  10.    }
  11.    _rotation = _root.car.Angle;
  12.    if(_root.zoom)
  13.    {
  14.       _visible = false;
  15.    }
  16.    if(_root.car.dead)
  17.    {
  18.       _rotation = 0;
  19.       this.gotoAndStop(2);
  20.    }
  21. }
  22.